home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
4287
/
4287.xpi
/
chrome
/
splitbrowser.jar
/
content
/
splitbrowser
/
splitbrowser.xul
< prev
Wrap
Extensible Markup Language
|
2009-11-05
|
27KB
|
570 lines
<?xml version="1.0"?>
<?xml-stylesheet href="splitbrowser.css" type="text/css"?>
<?xml-stylesheet href="chrome://splitbrowser/skin/splitbrowser.css" type="text/css"?>
<?xml-stylesheet href="chrome://splitbrowser/skin/buttons.css" type="text/css"?>
<?xml-stylesheet href="chrome://splitbrowser/skin/toolbar.css" type="text/css"?>
<?xml-stylesheet href="chrome://splitbrowser-platform/skin/toolbar.css" type="text/css"?>
<?xul-overlay href="fullScreenCanvas.xul"?>
<!DOCTYPE bindings SYSTEM "chrome://splitbrowser/locale/">
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html="http://www.w3.org/1999/xhtml">
<script type="application/x-javascript" src="splitbrowser.js"/>
<script type="application/x-javascript" src="hacks.js"/>
<script type="application/x-javascript" src="animationManager.js"/>
<broadcasterset id="mainBroadcasterSet">
<broadcaster id="splitbrowser-collapseAll-broadcaster"
disabled="true"/>
<broadcaster id="splitbrowser-expandAll-broadcaster"
disabled="true"/>
<broadcaster id="splitbrowser-featuresForSplitBrowsers-broadcaster"
disabled="true"/>
<broadcaster id="splitbrowser-featuresForMultipleTabs-broadcaster"
disabled="true"/>
<broadcaster id="splitbrowser-undo-broadcaster"
disabled="true"/>
<broadcaster id="splitbrowser-syncScroll-broadcaster"
checked="true"/>
</broadcasterset>
<commandset id="mainCommandSet">
<command id="splitbrowser-collapseAll-command"
oncommand="SplitBrowser.collapseAllSubBrowsers();"
observes="splitbrowser-collapseAll-broadcaster"/>
<command id="splitbrowser-expandAll-command"
oncommand="SplitBrowser.expandAllSubBrowsers();"
observes="splitbrowser-expandAll-broadcaster"/>
<command id="splitbrowser-removeAll-command"
oncommand="SplitBrowser.removeAllSubBrowsers();"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
<command id="splitbrowser-undo-command"
oncommand="SplitBrowser.undoRemoveSubBrowser();"
observes="splitbrowser-undo-broadcaster"/>
<command id="splitbrowser-undoList-command"
oncommand="SplitBrowser.undoRemoveSubBrowser(parseInt(event.target.getAttribute('index')));"
observes="splitbrowser-undo-broadcaster"/>
<command id="splitbrowser-layout-grid-command"
oncommand="
var b = SplitBrowser.activeBrowser;
if (b.localName != 'tabbrowser') b = gBrowser;
SplitBrowser.layoutTabs(b.parentSubBrowser, SplitBrowser.LAYOUT_GRID);
"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<command id="splitbrowser-layout-x-command"
oncommand="
var b = SplitBrowser.activeBrowser;
if (b.localName != 'tabbrowser') b = gBrowser;
SplitBrowser.layoutTabs(b.parentSubBrowser, SplitBrowser.LAYOUT_ON_X_AXIS);
"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<command id="splitbrowser-layout-y-command"
oncommand="
var b = SplitBrowser.activeBrowser;
if (b.localName != 'tabbrowser') b = gBrowser;
SplitBrowser.layoutTabs(b.parentSubBrowser, SplitBrowser.LAYOUT_ON_Y_AXIS);
"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<command id="splitbrowser-gather-command"
oncommand="SplitBrowser.gatherSubBrowsers();"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
<command id="splitbrowser-syncScroll-command"
oncommand="SplitBrowser.mainBrowserBox.toggleSyncScroll();"/>
</commandset>
<keyset id="mainKeyset">
<key id="key_stop"
oncommand="SplitBrowser.activeBrowserStop();"/>
</keyset>
<toolbarpalette id="BrowserToolbarPalette">
<toolbarbutton id="splitbrowser-menu-button"
type="menu"
class="splitbrowser-button toolbarbutton-1"
label="&splitbrowser.button.menu.label;"
tooltiptext="&splitbrowser.button.menu.tooltip;">
<menupopup id="splitbrowser-toolbarbutton-menu-popup"
onpopupshowing="SplitBrowser.updateMenu(this);">
<menuitem id="splitbrowser-toolbarbutton-remove-all"
class="menuitem-iconic splitbrowser-remove-all-item"
label="&splitbrowser.menu.removeAll.label;"
accesskey="&splitbrowser.menu.removeAll.accesskey;"
command="splitbrowser-removeAll-command"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
<menuseparator id="splitbrowser-toolbarbutton-undo-separator"/>
<menuitem id="splitbrowser-toolbarbutton-undo"
class="menuitem-iconic splitbrowser-undo-item"
label="&splitbrowser.menu.undo.label;"
accesskey="&splitbrowser.menu.undo.accesskey;"
command="splitbrowser-undo-command"
observes="splitbrowser-undo-broadcaster"/>
<menu id="splitbrowser-toolbarbutton-undoList"
class="menu-iconic splitbrowser-undoList-item"
label="&splitbrowser.menu.undoList.label;"
accesskey="&splitbrowser.menu.undoList.accesskey;"
observes="splitbrowser-undo-broadcaster">
<menupopup onpopupshowing="SplitBrowser.initUndoList(this);"
command="splitbrowser-undoList-command"/>
</menu>
<menuseparator id="splitbrowser-toolbarbutton-collapse-separator"/>
<menuitem id="splitbrowser-toolbarbutton-collapse-all"
class="menuitem-iconic splitbrowser-collapse-all-item"
label="&splitbrowser.menu.collapseAll.label;"
accesskey="&splitbrowser.menu.collapseAll.accesskey;"
command="splitbrowser-collapseAll-command"
observes="splitbrowser-collapseAll-broadcaster"/>
<menuitem id="splitbrowser-toolbarbutton-expand-all"
class="menuitem-iconic splitbrowser-expand-all-item"
label="&splitbrowser.menu.expandAll.label;"
accesskey="&splitbrowser.menu.expandAll.accesskey;"
command="splitbrowser-expandAll-command"
observes="splitbrowser-expandAll-broadcaster"/>
<menuseparator id="splitbrowser-toolbarbutton-split-separator"/>
<menu id="splitbrowser-toolbarbutton-split"
class="menu-iconic splitbrowser-split-item"
label="&splitbrowser.menu.add.label;"
observes="splitbrowser-featuresForMultipleTabs-broadcaster">
<menupopup
oncommand="
var b = SplitBrowser.activeBrowser;
if (b.localName != 'tabbrowser') b = gBrowser;
SplitBrowser.addSubBrowserFromTab(b.selectedTab, SplitBrowser[event.target.getAttribute('splitbrowser-position')], null, !SplitBrowser.shouldMoveSplitTab);
">
<menuitem label="&splitbrowser.menu.add.top.label;"
class="menuitem-iconic splitbrowser-menuitem-add-top"
splitbrowser-position="POSITION_TOP"/>
<menuitem label="&splitbrowser.menu.add.right.label;"
class="menuitem-iconic splitbrowser-menuitem-add-right"
splitbrowser-position="POSITION_RIGHT"/>
<menuitem label="&splitbrowser.menu.add.left.label;"
class="menuitem-iconic splitbrowser-menuitem-add-left"
splitbrowser-position="POSITION_LEFT"/>
<menuitem label="&splitbrowser.menu.add.bottom.label;"
class="menuitem-iconic splitbrowser-menuitem-add-bottom"
splitbrowser-position="POSITION_BOTTOM"/>
</menupopup>
</menu>
<menuseparator id="splitbrowser-toolbarbutton-layout-grid-separator"/>
<menuitem id="splitbrowser-toolbarbutton-layout-grid"
class="menuitem-iconic splitbrowser-layout-grid-item"
label="&splitbrowser.menu.layout.grid.label;"
accesskey="&splitbrowser.menu.layout.grid.accesskey;"
command="splitbrowser-layout-grid-command"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<menuitem id="splitbrowser-toolbarbutton-layout-x"
class="menuitem-iconic splitbrowser-layout-x-item"
label="&splitbrowser.menu.layout.x.label;"
accesskey="&splitbrowser.menu.layout.x.accesskey;"
command="splitbrowser-layout-x-command"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<menuitem id="splitbrowser-toolbarbutton-layout-y"
class="menuitem-iconic splitbrowser-layout-y-item"
label="&splitbrowser.menu.layout.y.label;"
accesskey="&splitbrowser.menu.layout.y.accesskey;"
command="splitbrowser-layout-y-command"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<menuitem id="splitbrowser-toolbarbutton-gather"
class="menuitem-iconic splitbrowser-gather-item"
accesskey="&splitbrowser.menu.gather.accesskey;"
label="&splitbrowser.menu.gather.label;"
command="splitbrowser-gather-command"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
<menuseparator id="splitbrowser-toolbarbutton-syncScroll-separator"/>
<menuitem id="splitbrowser-toolbarbutton-syncScroll"
label="&splitbrowser.menu.syncScroll.label;"
accesskey="&splitbrowser.menu.syncScroll.accesskey;"
type="checkbox"
autocheck="false"
command="splitbrowser-syncScroll-command"
observes="splitbrowser-syncScroll-broadcaster"/>
</menupopup>
</toolbarbutton>
<toolbarbutton id="splitbrowser-layout-grid-button"
class="splitbrowser-button toolbarbutton-1"
label="&splitbrowser.button.layout.grid.label;"
tooltiptext="&splitbrowser.button.layout.grid.tooltip;"
command="splitbrowser-layout-grid-command"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<toolbarbutton id="splitbrowser-gather-button"
class="splitbrowser-button toolbarbutton-1"
label="&splitbrowser.button.gather.label;"
tooltiptext="&splitbrowser.button.gather.tooltip;"
command="splitbrowser-gather-command"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
<toolbarbutton id="splitbrowser-collapseAll-button"
class="splitbrowser-button toolbarbutton-1"
label="&splitbrowser.button.collapseAll.label;"
tooltiptext="&splitbrowser.button.collapseAll.tooltip;"
command="splitbrowser-collapseAll-command"
observes="splitbrowser-collapseAll-broadcaster"/>
<toolbarbutton id="splitbrowser-expandAll-button"
class="splitbrowser-button toolbarbutton-1"
label="&splitbrowser.button.expandAll.label;"
tooltiptext="&splitbrowser.button.expandAll.tooltip;"
command="splitbrowser-expandAll-command"
observes="splitbrowser-expandAll-broadcaster"/>
<toolbarbutton id="splitbrowser-removeAll-button"
class="splitbrowser-button toolbarbutton-1"
label="&splitbrowser.button.removeAll.label;"
tooltiptext="&splitbrowser.button.removeAll.tooltip;"
command="splitbrowser-removeAll-command"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
</toolbarpalette>
<menubar id="main-menubar">
<menu id="splitbrowser-menu"
label="&splitbrowser.menu.label;"
accesskey="&splitbrowser.menu.accesskey;"
insertbefore="tools-menu">
<menupopup id="splitbrowser-menu-popup"
onpopupshowing="SplitBrowser.updateMenu(this);">
<menuitem id="splitbrowser-remove-all"
class="menuitem-iconic splitbrowser-remove-all-item"
label="&splitbrowser.menu.removeAll.label;"
accesskey="&splitbrowser.menu.removeAll.accesskey;"
command="splitbrowser-removeAll-command"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
<menuseparator id="splitbrowser-undo-separator"/>
<menuitem id="splitbrowser-undo"
class="menuitem-iconic splitbrowser-undo-item"
label="&splitbrowser.menu.undo.label;"
accesskey="&splitbrowser.menu.undo.accesskey;"
command="splitbrowser-undo-command"
observes="splitbrowser-undo-broadcaster"/>
<menu id="splitbrowser-undoList"
class="menu-iconic splitbrowser-undoList-item"
label="&splitbrowser.menu.undoList.label;"
accesskey="&splitbrowser.menu.undoList.accesskey;"
observes="splitbrowser-undo-broadcaster">
<menupopup onpopupshowing="SplitBrowser.initUndoList(this);"
command="splitbrowser-undoList-command"/>
</menu>
<menuseparator id="splitbrowser-collapse-separator"/>
<menuitem id="splitbrowser-collapse-all"
class="menuitem-iconic splitbrowser-collapse-all-item"
label="&splitbrowser.menu.collapseAll.label;"
accesskey="&splitbrowser.menu.collapseAll.accesskey;"
command="splitbrowser-collapseAll-command"
observes="splitbrowser-collapseAll-broadcaster"/>
<menuitem id="splitbrowser-expand-all"
class="menuitem-iconic splitbrowser-expand-all-item"
label="&splitbrowser.menu.expandAll.label;"
accesskey="&splitbrowser.menu.expandAll.accesskey;"
command="splitbrowser-expandAll-command"
observes="splitbrowser-expandAll-broadcaster"/>
<menuseparator id="splitbrowser-split-separator"/>
<menu id="splitbrowser-split"
class="menu-iconic splitbrowser-split-item"
label="&splitbrowser.menu.add.label;"
observes="splitbrowser-featuresForMultipleTabs-broadcaster">
<menupopup
oncommand="
var b = SplitBrowser.activeBrowser;
if (b.localName != 'tabbrowser') b = gBrowser;
SplitBrowser.addSubBrowserFromTab(b.selectedTab, SplitBrowser[event.target.getAttribute('splitbrowser-position')], null, !SplitBrowser.shouldMoveSplitTab);
">
<menuitem label="&splitbrowser.menu.add.top.label;"
class="menuitem-iconic splitbrowser-menuitem-add-top"
splitbrowser-position="POSITION_TOP"/>
<menuitem label="&splitbrowser.menu.add.right.label;"
class="menuitem-iconic splitbrowser-menuitem-add-right"
splitbrowser-position="POSITION_RIGHT"/>
<menuitem label="&splitbrowser.menu.add.left.label;"
class="menuitem-iconic splitbrowser-menuitem-add-left"
splitbrowser-position="POSITION_LEFT"/>
<menuitem label="&splitbrowser.menu.add.bottom.label;"
class="menuitem-iconic splitbrowser-menuitem-add-bottom"
splitbrowser-position="POSITION_BOTTOM"/>
</menupopup>
</menu>
<menuseparator id="splitbrowser-layout-grid-separator"/>
<menuitem id="splitbrowser-layout-grid"
class="menuitem-iconic splitbrowser-layout-grid-item"
label="&splitbrowser.menu.layout.grid.label;"
accesskey="&splitbrowser.menu.layout.grid.accesskey;"
command="splitbrowser-layout-grid-command"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<menuitem id="splitbrowser-layout-x"
class="menuitem-iconic splitbrowser-layout-x-item"
label="&splitbrowser.menu.layout.x.label;"
accesskey="&splitbrowser.menu.layout.x.accesskey;"
command="splitbrowser-layout-x-command"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<menuitem id="splitbrowser-layout-y"
class="menuitem-iconic splitbrowser-layout-y-item"
label="&splitbrowser.menu.layout.y.label;"
accesskey="&splitbrowser.menu.layout.y.accesskey;"
command="splitbrowser-layout-y-command"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"/>
<menuitem id="splitbrowser-gather"
class="menuitem-iconic splitbrowser-gather-item"
label="&splitbrowser.menu.gather.label;"
accesskey="&splitbrowser.menu.gather.accesskey;"
command="splitbrowser-gather-command"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
<menuseparator id="splitbrowser-syncScroll-separator"/>
<menuitem id="splitbrowser-syncScroll"
label="&splitbrowser.menu.syncScroll.label;"
accesskey="&splitbrowser.menu.syncScroll.accesskey;"
type="checkbox"
autocheck="false"
command="splitbrowser-syncScroll-command"
observes="splitbrowser-syncScroll-broadcaster"/>
</menupopup>
</menu>
</menubar>
<menupopup id="menu_FilePopup">
<menuitem id="splitbrowser-file-remove-all"
insertafter="menu_close"
class="menuitem-iconic splitbrowser-remove-all-item"
label="&splitbrowser.file.removeAll.label;"
accesskey="&splitbrowser.file.removeAll.accesskey;"
command="splitbrowser-removeAll-command"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
</menupopup>
<menupopup id="menu_viewPopup">
<menuseparator id="splitbrowser-view-separator"/>
<menuitem id="splitbrowser-view-collapse-all"
class="menuitem-iconic splitbrowser-collapse-all-item"
label="&splitbrowser.view.collapseAll.label;"
accesskey="&splitbrowser.view.collapseAll.accesskey;"
command="splitbrowser-collapseAll-command"
observes="splitbrowser-collapseAll-broadcaster"/>
<menuitem id="splitbrowser-view-expand-all"
class="menuitem-iconic splitbrowser-expand-all-item"
label="&splitbrowser.view.expandAll.label;"
accesskey="&splitbrowser.view.expandAll.accesskey;"
command="splitbrowser-expandAll-command"
observes="splitbrowser-expandAll-broadcaster"/>
</menupopup>
<menupopup id="goPopup">
<menu id="splitbrowser-goMenu-undoList"
class="menu-iconic splitbrowser-undoList-item"
label="&splitbrowser.menu.undoList.label;"
accesskey="&splitbrowser.menu.undoList.accesskey;"
observes="splitbrowser-undo-broadcaster">
<menupopup onpopupshowing="SplitBrowser.initUndoList(this);"
command="splitbrowser-undoList-command"/>
</menu>
</menupopup>
<popup id="contentAreaContextMenu">
<menu id="splitbrowser-context-item-link"
class="menu-iconic"
insertafter="context-openlinkintab"
label="&splitbrowser.link.add.label;">
<menupopup>
<menuitem label="&splitbrowser.link.add.top.label;"
class="menuitem-iconic splitbrowser-menuitem-add-top"
oncommand="SplitBrowser.addSubBrowser(gContextMenu.linkURL, null, SplitBrowser.POSITION_TOP);"/>
<menuitem label="&splitbrowser.link.add.right.label;"
class="menuitem-iconic splitbrowser-menuitem-add-right"
oncommand="SplitBrowser.addSubBrowser(gContextMenu.linkURL, null, SplitBrowser.POSITION_RIGHT);"/>
<menuitem label="&splitbrowser.link.add.left.label;"
class="menuitem-iconic splitbrowser-menuitem-add-left"
oncommand="SplitBrowser.addSubBrowser(gContextMenu.linkURL, null, SplitBrowser.POSITION_LEFT);"/>
<menuitem label="&splitbrowser.link.add.bottom.label;"
class="menuitem-iconic splitbrowser-menuitem-add-bottom"
oncommand="SplitBrowser.addSubBrowser(gContextMenu.linkURL, null, SplitBrowser.POSITION_BOTTOM);"/>
</menupopup>
</menu>
<menuseparator id="splitbrowser-context-splitter"/>
<menu id="splitbrowser-context-item"
class="menu-iconic"
label="&splitbrowser.add.label;">
<menupopup>
<menuitem label="&splitbrowser.add.top.label;"
class="menuitem-iconic splitbrowser-menuitem-add-top"
oncommand="SplitBrowser.fireSubBrowserAddRequestEventFromFrame(document.popupNode.ownerDocument.defaultView, null, SplitBrowser.POSITION_TOP, null, true);"/>
<menuitem label="&splitbrowser.add.right.label;"
class="menuitem-iconic splitbrowser-menuitem-add-right"
oncommand="SplitBrowser.fireSubBrowserAddRequestEventFromFrame(document.popupNode.ownerDocument.defaultView, null, SplitBrowser.POSITION_RIGHT, null, true);"/>
<menuitem label="&splitbrowser.add.left.label;"
class="menuitem-iconic splitbrowser-menuitem-add-left"
oncommand="SplitBrowser.fireSubBrowserAddRequestEventFromFrame(document.popupNode.ownerDocument.defaultView, null, SplitBrowser.POSITION_LEFT, null, true);"/>
<menuitem label="&splitbrowser.add.bottom.label;"
class="menuitem-iconic splitbrowser-menuitem-add-bottom"
oncommand="SplitBrowser.fireSubBrowserAddRequestEventFromFrame(document.popupNode.ownerDocument.defaultView, null, SplitBrowser.POSITION_BOTTOM, null, true);"/>
</menupopup>
</menu>
</popup>
<menu id="frame">
<menupopup id="frame_popup">
<menuseparator/>
<menu id="splitbrowser-context-item-frame"
class="menu-iconic"
label="&splitbrowser.frame.add.label;">
<menupopup>
<menuitem label="&splitbrowser.frame.add.top.label;"
class="menuitem-iconic splitbrowser-menuitem-add-top"
oncommand="SplitBrowser.addSubBrowser(document.popupNode.ownerDocument.defaultView.location.href, null, SplitBrowser.POSITION_TOP);"/>
<menuitem label="&splitbrowser.frame.add.right.label;"
class="menuitem-iconic splitbrowser-menuitem-add-right"
oncommand="SplitBrowser.addSubBrowser(document.popupNode.ownerDocument.defaultView.location.href, null, SplitBrowser.POSITION_RIGHT);"/>
<menuitem label="&splitbrowser.frame.add.left.label;"
class="menuitem-iconic splitbrowser-menuitem-add-left"
oncommand="SplitBrowser.addSubBrowser(document.popupNode.ownerDocument.defaultView.location.href, null, SplitBrowser.POSITION_LEFT);"/>
<menuitem label="&splitbrowser.frame.add.bottom.label;"
class="menuitem-iconic splitbrowser-menuitem-add-bottom"
oncommand="SplitBrowser.addSubBrowser(document.popupNode.ownerDocument.defaultView.location.href, null, SplitBrowser.POSITION_BOTTOM);"/>
</menupopup>
</menu>
</menupopup>
</menu>
<window id="main-window">
<panel id="splitbrowser-add-button-panel"
onpopupshowing="this.popupBoxObject.setConsumeRollupEvent(this.popupBoxObject.ROLLUP_NO_CONSUME);">
<toolbarbutton id="splitbrowser-add-button-in-panel"
class="splitbrowser-add-button"
onclick="
if (event.button != 0) {
SplitBrowser.hideAddButton(event, true);
/*
var req = this.targetSubBrowser.browser.contentWindow.QueryInterface(Components.interfaces.nsIInterfaceRequestor);
var winUtils = req.getInterface(Components.interfaces.nsIDOMWindowUtils);
if ('sendMouseEvent' in winUtils)
winUtils.sendMouseEvent('click', event.screenX, event.screenY, event.button, 1, 0);
*/
}
"
oncommand="if (SplitBrowser.addButtonIsActive) SplitBrowser.onAddButtonCommand(event);"
ondragover="if (SplitBrowser.addButtonIsActive) nsDragAndDrop.dragOver(event, SplitBrowser.addButtonDNDObserver);"
ondragdrop="if (SplitBrowser.addButtonIsActive) nsDragAndDrop.drop(event, SplitBrowser.addButtonDNDObserver);"
tooltiptext-top="&splitbrowser.add.button.top.tooltip;"
tooltiptext-bottom="&splitbrowser.add.button.bottom.tooltip;"
tooltiptext-left="&splitbrowser.add.button.left.tooltip;"
tooltiptext-right="&splitbrowser.add.button.right.tooltip;"/>
</panel>
</window>
<popupset id="mainPopupSet">
<menupopup id="multipletab-tabcontext-menu-template">
<menu id="splitbrowser-tab-context-item-split"
class="menu-iconic splitbrowser-split-item tab-context"
label="&splitbrowser.tab.add.label;"
tbattr="tabbrowser-multiple"
observes="splitbrowser-featuresForMultipleTabs-broadcaster">
<menupopup
oncommand="
var b = this;
while (b.localName != 'tabbrowser')
b = b.parentNode;
SplitBrowser.addSubBrowserFromTab(b.mContextTab, SplitBrowser[event.target.getAttribute('splitbrowser-position')], null, !SplitBrowser.shouldMoveSplitTab);
">
<menuitem label="&splitbrowser.tab.add.top.label;"
class="menuitem-iconic splitbrowser-menuitem-add-top"
splitbrowser-position="POSITION_TOP"/>
<menuitem label="&splitbrowser.tab.add.right.label;"
class="menuitem-iconic splitbrowser-menuitem-add-right"
splitbrowser-position="POSITION_RIGHT"/>
<menuitem label="&splitbrowser.tab.add.left.label;"
class="menuitem-iconic splitbrowser-menuitem-add-left"
splitbrowser-position="POSITION_LEFT"/>
<menuitem label="&splitbrowser.tab.add.bottom.label;"
class="menuitem-iconic splitbrowser-menuitem-add-bottom"
splitbrowser-position="POSITION_BOTTOM"/>
</menupopup>
</menu>
<menuseparator id="splitbrowser-tab-context-separator-layout-grid"
class="splitbrowser-tab-context-separator"/>
<menuitem id="splitbrowser-tab-context-item-layout-grid"
class="menuitem-iconic splitbrowser-layout-grid-item tab-context"
label="&splitbrowser.tab.layout.grid.label;"
tbattr="tabbrowser-multiple"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"
oncommand="
var b = this;
while (b.localName != 'tabbrowser')
b = b.parentNode;
SplitBrowser.layoutTabs(b.parentSubBrowser, SplitBrowser.LAYOUT_GRID);
"/>
<menuitem id="splitbrowser-tab-context-item-layout-x"
class="menuitem-iconic splitbrowser-layout-x-item tab-context"
label="&splitbrowser.tab.layout.x.label;"
tbattr="tabbrowser-multiple"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"
oncommand="
var b = this;
while (b.localName != 'tabbrowser')
b = b.parentNode;
SplitBrowser.layoutTabs(b.parentSubBrowser, SplitBrowser.LAYOUT_ON_X_AXIS);
"/>
<menuitem id="splitbrowser-tab-context-item-layout-y"
class="menuitem-iconic splitbrowser-layout-y-item tab-context"
label="&splitbrowser.tab.layout.y.label;"
tbattr="tabbrowser-multiple"
observes="splitbrowser-featuresForMultipleTabs-broadcaster"
oncommand="
var b = this;
while (b.localName != 'tabbrowser')
b = b.parentNode;
SplitBrowser.layoutTabs(b.parentSubBrowser, SplitBrowser.LAYOUT_ON_Y_AXIS);
"/>
<menuitem id="splitbrowser-tab-context-item-gather"
class="menuitem-iconic splitbrowser-gather-item tab-context"
label="&splitbrowser.tab.gather.label;"
oncommand="SplitBrowser.gatherSubBrowsers();"
observes="splitbrowser-featuresForSplitBrowsers-broadcaster"/>
</menupopup>
</popupset>
<popupset id="splitbrowser-popupset">
<menupopup id="subbrowser-splitter-contextmenu"
onpopupshowing="SplitBrowser.updateSplitterContextMenu();">
<menuitem class="subbrowser-context-collapse"
label="&splitbrowser.subbrowser.menu.collapse;"
oncommand="SplitBrowser.toggleSplitterCollapsed();"/>
<menuitem class="subbrowser-context-expand"
label="&splitbrowser.subbrowser.menu.expand;"
oncommand="SplitBrowser.toggleSplitterCollapsed();"/>
</menupopup>
</popupset>
<menupopup id="multipletab-selection-menu">
<menuseparator id="multipletab-selection-splitbrowser-separator"/>
<menuitem id="multipletab-selection-splitbrowser-layout-grid"
class="menuitem-iconic splitbrowser-layout-grid-item"
label="&multipletab.layout.grid.label;"
oncommand="
var b = SplitBrowser.activeBrowser;
if (b.localName != 'tabbrowser') b = gBrowser;
SplitBrowser.layoutTabs(b.parentSubBrowser, SplitBrowser.LAYOUT_GRID);
"/>
<menuitem id="multipletab-selection-splitbrowser-layout-x"
class="menuitem-iconic splitbrowser-layout-x-item"
label="&multipletab.layout.x.label;"
oncommand="
var b = SplitBrowser.activeBrowser;
if (b.localName != 'tabbrowser') b = gBrowser;
SplitBrowser.layoutTabs(b.parentSubBrowser, SplitBrowser.LAYOUT_ON_X_AXIS);
"/>
<menuitem id="multipletab-selection-splitbrowser-layout-y"
class="menuitem-iconic splitbrowser-layout-y-item"
label="&multipletab.layout.y.label;"
oncommand="
var b = SplitBrowser.activeBrowser;
if (b.localName != 'tabbrowser') b = gBrowser;
SplitBrowser.layoutTabs(b.parentSubBrowser, SplitBrowser.LAYOUT_ON_Y_AXIS);
"/>
</menupopup>
</overlay>